package com.zx.server.api;

import com.zx.server.api.pojo.PageReq;
import com.zx.server.api.pojo.UserInfoReq;
import com.zx.server.util.ResponseModel;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @auther: zhangxin
 * @Description:
 */
public interface UserServer {


    @RequestMapping("/addUser")
    public ResponseEntity<ResponseModel> addUser(@RequestBody UserInfoReq userInfoReq);


    @RequestMapping("/getUserInfoList")
    public ResponseEntity<ResponseModel> getUserInfoList(@RequestBody PageReq req);
}